import { IsNotEmpty } from 'class-validator'

export class GetPhoneNumberDto {
  @IsNotEmpty({ message: 'code不能为空' })
  code: string
}

export class GetPhoneNumberQuery {
  @IsNotEmpty({ message: 'access_token不能为空' })
  access_token: string
}
